﻿using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ccteg.Common
{
	/// <summary>
	///风险管控
	/// </summary>
	public class rsk_rsk
	{
		/// <summary>
		///主键-自增
		/// </summary>
		[Key]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		public int Id { get; set; }

		/// <summary>
		///风险基元编码
		/// </summary>
		public string RiskBaseNO { get; set; }

		/// <summary>
		///二级单位名称--
		/// </summary>
		public string CompanyName { get; set; }

		/// <summary>
		///二级单位编码--
		/// </summary>
		public string CompanyNo { get; set; }

		/// <summary>
		///二级单位全称--
		/// </summary>
		public string CompanyFullName { get; set; }

		/// <summary>
		///工作任务
		/// </summary>
		public string Task { get; set; }

		/// <summary>
		///工序名称
		/// </summary>
		public string Procedure { get; set; }

		/// <summary>
		///风险专业
		/// </summary>
		public string Major { get; set; }

		/// <summary>
		///风险等级（主数据-重大风险、较大风险）
		/// </summary>
		public string Level { get; set; }

		/// <summary>
		///风险种类/类型（主数据-火灾、透水）
		/// </summary>
		public string RiskType { get; set; }

		/// <summary>
		///事故类型
		/// </summary>
		public string AccidentType { get; set; }

		/// <summary>
		///危险源/危险因素
		/// </summary>
		public string Hazard { get; set; }

		/// <summary>
		///风险及后果描述
		/// </summary>
		public string Description { get; set; }

		/// <summary>
		///管理标准
		/// </summary>
		public string Standard { get; set; }

		/// <summary>
		///管理对象
		/// </summary>
		public string ManageTarget { get; set; }

		/// <summary>
		///状态：启用/停用
		/// </summary>
		public string State { get; set; }

		/// <summary>
		///创建时间
		/// </summary>
		public DateTime? CreatedOn { get; set; }

		/// <summary>
		///修改时间
		/// </summary>
		public DateTime? ModifiedOn { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string Domain { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string TenantId { get; set; }

		/// <summary>
		///排序
		/// </summary>
		public int? Sort { get; set; }

		/// <summary>
		///创建人
		/// </summary>
		public string CreatedBy { get; set; }

		/// <summary>
		///修改人
		/// </summary>
		public string ModifiedBy { get; set; }

		/// <summary>
		///是否删除（本系统逻辑删除)
		/// </summary>
		public bool? Deleted { get; set; }

		/// <summary>
		///所属二级单位名称（预留）--
		/// </summary>
		public string BeCompanyName { get; set; }

		/// <summary>
		///所属二级单位编码（预留）--
		/// </summary>
		public string BeCompanyNo { get; set; }

		/// <summary>
		///所属二级单位全称（预留）--
		/// </summary>
		public string BeCompanyFullName { get; set; }

	}
}